import axios from 'axios'

var http = axios.create({
  baseURL: 'localhost:3000',
})

export default {
  http,
  get(url, data) {
    return http({
      url: url,
      method: 'get',
      data,
    })
  },
}
